package OceanWorld2;

/**
 * Created by pc on 3/31/16.
 */
public class FlyingFish extends Fish implements Flyer {
    public FlyingFish(String name) {
        super(name);
    }

    @Override
    public void swim() {
        System.out.println("flyingfish swim");
    }

    @Override
    public void fly() {
        System.out.println("flyingfish can fly");
    }
}
